<h3>{L_MANAGE_BLOG}</h3>

<!-- IF $_IS_MOBILE -->
<p class="action-buttons"><span class="actions-menu"><a onclick="return showPopupMenu(event, 'actions-menu');"><span></span></a></span></p>
<ul id="actions-menu" class="popup-menu">
    <li><a href="{U_WRITE_NEW_POST}">Write New Post</a></li>
    <li><a href="{U_PERMISSIONS}">{L_EDIT_PERMISSIONS}</a></li>
</ul>
<!-- ELSE -->
<div id="new-stuff">
	<!-- IF U_WRITE_NEW_POST -->
	<span id="new-post" class="post-button"><a href="{U_WRITE_NEW_POST}">Write New Post</a></span>
	<!-- ENDIF -->
    <!-- IF U_PERMISSIONS -->
    <span id="blog-permissions" class="post-button"><a href="{U_PERMISSIONS}">{L_EDIT_PERMISSIONS}</a></span>
    <!-- ENDIF -->
</div>
<!-- ENDIF -->

<p>{PAGINATION}</p>

<!-- IF $_IS_MOBILE -->
<ul class="list">
<!-- BEGIN blog_list -->
<li class="list-item">
    <p>
        <a href="{blog_list.U_VIEW}">{blog_list.TITLE}</a>
    </p>
    <span class="action delete"><a href="{blog_list.U_DELETE}">{L_DELETE}</a></span>
    <span class="action edit"><a href="{blog_list.U_EDIT}">{L_EDIT}</a></span>
    <span class="action permissions"><a href="{blog_list.U_EDIT_PERMISSIONS}">{L_PRIVACY}</a></span>
</li>
<!-- END blog_list -->
</ul>
<!-- ENDIF -->
<!-- IF NOT $_IS_MOBILE -->
<table style="width: 100%">
<tr>
	<th>{L_POSTED}</th>
	<th>{L_TITLE}</th>
	<th>{L_COMMENTS}</th>
    <th>{L_VIEWS}</th>
	<th></th>
	<th></th>
	<th></th>
</tr>
<!-- BEGIN blog_list -->
<!-- IF blog_list.$_INDEX_EVEN -->
<tr class="even">
<!-- ELSE -->
<tr class="odd">
<!-- ENDIF -->
	<td>{blog_list.POSTED}</td>
	<td>{blog_list.TITLE}</td>
	<td><a href="{blog_list.U_COMMENTS}">{blog_list.COMMENTS}</a></td>
    <td><a href="{blog_list.U_STATISTICS}">{blog_list.VIEWS}</a></td>
	<td><a href="{blog_list.U_VIEW}">{L_VIEW}</a></td>
	<td><a href="{blog_list.U_EDIT}">{L_EDIT}</a></td>
      <td>
        <a href="{blog_list.U_EDIT_PERMISSIONS}"><img src="/images/permissions.png" alt="{L_EDIT_PERMISSIONS}" title="{L_EDIT_PERMISSIONS}"/></a>
      </td>
	<td><a href="{blog_list.U_DELETE}">{L_DELETE}</a></td>
</tr>
<!-- END blog_list -->
</table>
<!-- ENDIF -->

<p>{PAGINATION}</p>